/* delete unused legal entity */
delete  from 
z_png_webform_company 
where company_code 
not in('335','613','640','865','901','917','937','944','2066','2173','2174','2223','2225')
go